// 调用首页数据的接口函数
import request from '@/utils/request'

// 获取分类信息
export const getCategory = () => request('/home/category/head', 'get')
// 获取品牌数据
export const getBrand = (limit) => request("/home/brand", "get", { limit });
// 获取轮播图数据
export const getBanner = () => request("/home/banner", "get");
// 获取新鲜好物
export const getNewGoods = () => request("/home/new", "get");
// 获取人气推荐
export const getHot = () => request("/home/hot", "get");